import { createApp } from "vue";
import "./style.css";
import routerList from "./router";
import App from "./App.vue";
import VueLazyload from "vue-lazyload"; //引入这个懒加载插件
import ElementPlus from "element-plus";
import "element-plus/dist/index.css";
const app = createApp(App);
app.use(routerList);
app.use(VueLazyload, {
  // preLoad: 1.33, //预加载高度比例
  // error: errorimage, //加载失败时图像的src
  // loading: loadimage, //加载时图像的src
  attempt: 2,
  throttleWait: 500,
});
app.use(ElementPlus);
app.mount("#app");
